package cn.gson.crmdemo.model.vo;

import java.math.BigDecimal;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;


@Entity
@Table(name = "deliverdetailed")
public class DeliverdetailedProductVo {
	@Id
	@Column(name="dd_id")
	private int ddId;

	@Column(name="dd_aamount")
	private int ddAamount;

	@Column(name="dd_amount")
	private int ddAmount;

	@Column(name="dd_isornotuse")
	private int ddIsornotuse;

	@Column(name="dd_offer")
	private BigDecimal ddOffer;

	@Column(name="dd_ramount")
	private int ddRamount;

	@Column(name="dd_ramountdd_remark")
	private String ddRamountddRemark;

	@Column(name="dd_state")
	private int ddState;

	@Column(name="d_id")
	private int deliver;

	@Column(name="cp_id")
	private int product;

	public int getDdId() {
		return ddId;
	}

	public void setDdId(int ddId) {
		this.ddId = ddId;
	}

	public int getDdAamount() {
		return ddAamount;
	}

	public void setDdAamount(int ddAamount) {
		this.ddAamount = ddAamount;
	}

	public int getDdAmount() {
		return ddAmount;
	}

	public void setDdAmount(int ddAmount) {
		this.ddAmount = ddAmount;
	}

	public int getDdIsornotuse() {
		return ddIsornotuse;
	}

	public void setDdIsornotuse(int ddIsornotuse) {
		this.ddIsornotuse = ddIsornotuse;
	}

	public BigDecimal getDdOffer() {
		return ddOffer;
	}

	public void setDdOffer(BigDecimal ddOffer) {
		this.ddOffer = ddOffer;
	}

	public int getDdRamount() {
		return ddRamount;
	}

	public void setDdRamount(int ddRamount) {
		this.ddRamount = ddRamount;
	}

	public String getDdRamountddRemark() {
		return ddRamountddRemark;
	}

	public void setDdRamountddRemark(String ddRamountddRemark) {
		this.ddRamountddRemark = ddRamountddRemark;
	}

	public int getDdState() {
		return ddState;
	}

	public void setDdState(int ddState) {
		this.ddState = ddState;
	}

	public int getDeliver() {
		return deliver;
	}

	public void setDeliver(int deliver) {
		this.deliver = deliver;
	}

	public int getProduct() {
		return product;
	}

	public void setProduct(int product) {
		this.product = product;
	}

	public DeliverdetailedProductVo(int ddId, int ddAamount, int ddAmount, int ddIsornotuse, BigDecimal ddOffer,
			int ddRamount, String ddRamountddRemark, int ddState, int deliver, int product) {
		super();
		this.ddId = ddId;
		this.ddAamount = ddAamount;
		this.ddAmount = ddAmount;
		this.ddIsornotuse = ddIsornotuse;
		this.ddOffer = ddOffer;
		this.ddRamount = ddRamount;
		this.ddRamountddRemark = ddRamountddRemark;
		this.ddState = ddState;
		this.deliver = deliver;
		this.product = product;
	}

	public DeliverdetailedProductVo() {
		super();
		// TODO Auto-generated constructor stub
	}

	@Override
	public String toString() {
		return "DeliverdetailedProductVo [ddId=" + ddId + ", ddAamount=" + ddAamount + ", ddAmount=" + ddAmount
				+ ", ddIsornotuse=" + ddIsornotuse + ", ddOffer=" + ddOffer + ", ddRamount=" + ddRamount
				+ ", ddRamountddRemark=" + ddRamountddRemark + ", ddState=" + ddState + ", deliver=" + deliver
				+ ", product=" + product + "]";
	}
	
	
	
}
